#ifndef PARSEREXCEPTION_H
#define PARSEREXCEPTION_H

#include <string>
#include <exception>
using namespace std;
class ParserException : public exception
{
        string error;
public:
    ParserException(const string& s)throw() : error(s){}
    virtual const char* what()throw(){return error.c_str();}
    virtual ~ParserException()throw(){}
};

#endif // PARSEREXCEPTION_H
